Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

Set<T>(String,T,DateTime,String) Method






Unique identifier of the cache item.
Data for the cache item.
Absolute expiration date to use.
Optional name of a region in cache.
Adds a key/value pair item into the cache with the specified absolute expiration date.
Syntax
public override void Set<T>( 
   string key,
   T value,
   DateTime absoluteExpiration,
   string regionName
)
'Declaration
 
Public Overloads Overrides Sub Set(Of T)( _
   ByVal key As String, _
   ByVal value As T, _
   ByVal absoluteExpiration As Date, _
   ByVal regionName As String _
) 
'Usage
 
Dim instance As FileCache
Dim key As String
Dim value As T
Dim absoluteExpiration As Date
Dim regionName As String
 
instance.Set(Of T)(key, value, absoluteExpiration, regionName)
@Override
public <T> void set(String key, T value, Class<?> classOfT, Date absoluteExpiration, String regionName)
            
public:
void Setgeneric<typename T>
( 
   String^ key,
   T^ value,
   DateTime absoluteExpiration,
   String^ regionName
) override 

Parameters

key
Unique identifier of the cache item.
value
Data for the cache item.
absoluteExpiration
Absolute expiration date to use.
regionName
Optional name of a region in cache.

Type Parameters

T
Remarks

If the item is already in the cache, then it will be replaced with the new item and its policy updated.

Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members
Overload List

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features